package com.xl.event;

import org.springframework.context.ApplicationEvent;

public abstract class AlaramBasicEvent extends ApplicationEvent {

    private AlarmInfoSource alarmInfoSource ;

    public AlaramBasicEvent(AlarmInfoSource source) {
        super(source);
        alarmInfoSource = source ;
    }

    public AlarmInfoSource getSource() {
        return this.alarmInfoSource;
    }
}
